package cn.jobstart.searchExt;

import cn.jobstart.model.AdminJobCandidate;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.jobstart.search.AdminJobCandidateSearch;
import lombok.experimental.Accessors;

import java.util.List;


/**
*    @author sunke
*    @Date 2023-09-06 15:00:20
*    @description AdminJobCandidateSearchExt      职位候选人
*/
@Data
@Accessors(chain = true)
@ApiModel("职位候选人AdminJobCandidateSearchExt")
public class AdminJobCandidateSearchExt extends AdminJobCandidateSearch<AdminJobCandidateSearchExt> {

    @ApiModelProperty("是还是自己添加的候选人")
    private int selfAddFlag=-1;

    private String selfId;

    public void setAdminJobIds(List adminJobIds) {
        this.adminJobIds = adminJobIds;
        setInField(AdminJobCandidate.ADMIN_JOB_ID,adminJobIds);
    }

    private List adminJobIds;


    public static AdminJobCandidateSearchExt getInstance() {
        return new AdminJobCandidateSearchExt();
    }


    @Override
    public AdminJobCandidateSearchExt getSubThis() {
        return this;
    }

}

